package com.lawyer.repository;


import java.util.List;

import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.PagingAndSortingRepository;
import org.springframework.data.rest.core.annotation.RepositoryRestResource;

import com.lawyer.entity.CaseInfo;


@RepositoryRestResource(exported = false)
public interface CaseInfoRepository extends PagingAndSortingRepository<CaseInfo, Long> , JpaSpecificationExecutor<CaseInfo> {
	List<CaseInfo> findByParentId(Long parentId);
	
	@Override
	public List<CaseInfo> findAll();
	
}
